package com.ctgu.redislock01.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ctgu.redislock01.entity.UsersEntity;
import com.ctgu.redislock01.utils.ApiResult;

/**
* @author Alex2
* @description 针对表【t_users】的数据库操作Service
* @createDate 2025-03-03 17:22:23
*/
public interface UsersService extends IService<UsersEntity> {

    ApiResult getAllUser();

    ApiResult updateUser(Integer id, String username, String password, String phone);

    ApiResult updateUsers(Integer id, String username, String password, String phone);

    ApiResult getUser(Integer id);

    ApiResult getUserEntity(Integer id);

    ApiResult fetchUserById(Integer id);

    ApiResult fetchUserEntity(Integer id);

    ApiResult getRedisUtils(Integer id);
}
